package com.vma.jifu.service;

import com.jfinal.plugin.activerecord.Page;
import com.vma.jifu.bizModel.model.CashOut;

import java.util.Map;

/**
 * Created by chenzui on 2017/7/1.
 */
public interface AccountService {
    public void addAccount(Integer userId,String aliName,String aliAccount,String wxName, String wxAccount);

    public Map getMyAccount(Integer userId);

    public void checkOutMoney(Integer userId,Integer type,Integer number,Integer accountId);

    /**
     * 查询提现记录
     * @param userId
     * @param cPage
     * @param pSize
     */
    public Page<CashOut> qryCashOutList(Integer userId, Integer cPage, Integer pSize);
}
